projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9a974f
)
docs/tools/widgets: Stop using gtk_button_set_image
author
Timm Bäder
<mail@baedert.org>
Fri, 14 Oct 2016 14:00:26 +0000
(16:00 +0200)
committer
Benjamin Otte
<otte@redhat.com>
Mon, 17 Oct 2016 22:29:19 +0000
(
00:29
+0200)
docs/tools/widgets.c
patch
|
blob
|
history
diff --git
a/docs/tools/widgets.c
b/docs/tools/widgets.c
index a46fcb9a2af56c3e8425dd70d3f2d1c08abdf97f..f57472f861f8d8ca15ce51d0bb1cb2bfcbed9382 100644
(file)
--- a/
docs/tools/widgets.c
+++ b/
docs/tools/widgets.c
@@
-150,7
+150,7
@@
create_menu_button (void)
widget = gtk_menu_button_new ();
image = gtk_image_new ();
gtk_image_set_from_icon_name (GTK_IMAGE (image), "emblem-system-symbolic", GTK_ICON_SIZE_MENU);
- gtk_
button_set_image (GTK_BUTTON
(widget), image);
+ gtk_
container_add (GTK_CONTAINER
(widget), image);
menu = gtk_menu_new ();
gtk_menu_button_set_popup (GTK_MENU_BUTTON (widget), menu);